<{include file="section/admin/header2.tpl"}>
<style type="text/css">
table.tb_notice{
    display:table;
    width:80%;
}
table.tb_notice td.notice_title{
    width:100%;
	height:40px;
	line-height:40px;
   	border-bottom:1px solid #9cb8cc;
}
table.tb_notice td.notice_title strong{
    display:block;    
    width:100px;
    font-size:15px;
    height:25px;
    line-height:25px;
    overflow:hidden;
}

</style>
<table class="tb_notice" cellpadding='5' cellspacing='0'>
<form name='notice' method='post' action=''onsubmit="return check_null();">
<tr>
<td colspan='2' class="notice_title" align='left'><strong>运营公告管理</strong></td>
</tr>
<tr>
<tr><td align="right" width="10%">公告标题:</td><td><input id='title' size='53'  name="title" value="<{$notices.title}>" maxlength="64"></td></tr>
<tr><td align="right">公告内容:</td><td><textarea id="content"  name="notice_content" cols='50' rows='10'><{$notices.content}></textarea></td></tr>
<tr>
<td></td>
<td align="left">
<input class="btn04" value="确定" type="submit" />
</td>
</tr>
</form>
</table>
<{include file="section/admin/footer2.tpl"}>
<script type='text/javascript'>
  function check_null()
{
    var title = document.getElementById('title').value;
    var content = document.getElementById('content').value;
	if(title == '')
	{
	    alert('标题不能为空!');
		return false;
	}
    if(content == '')
	{
	    alert('内容不能为空!');
		return false;
    }
	return true;
}
</script>
